<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>custom-scrollbar</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body,html {
            height: 100%;
        }
        body {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .custom-scrollbar {
            width: 200px;
            height: 70px;
            border: 1px solid #d0d0de;
            padding: 15px;
            overflow-y: scroll;
        }
        .custom-scrollbar::-webkit-scrollbar {
            width: 8px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background-color: #1e3f20;
            border-radius: 12px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background-color: #4a7856;
            border-radius: 12px;
        }
    </style>
</head>

<body>
    <div class="custom-scrollbar">
        <p>
            Lorem ipsum dolor sit amet consectetur adipisicing elit.<br />
            Iure id exercitationem nulla qui repellat laborum vitae, <br />
            molestias tempora velit natus. Quas, assumenda nisi. <br />
            Quisquam enim qui iure, consequatur velit sit?
        </p>
    </div>
</body>

</html>